package org.jeecg.modules.htxincailiao.im.service.impl;

import org.jeecg.modules.htxincailiao.im.entity.IMConversation;
import org.jeecg.modules.htxincailiao.im.mapper.IMConversationMapper;
import org.jeecg.modules.htxincailiao.im.service.IIMConversationService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: im_conversation
 * @Author: jeecg-boot
 * @Date:   2023-03-14 11:13:41
 * @Version: V1.0
 */
@Service
public class IMConversationServiceImpl extends ServiceImpl<IMConversationMapper, IMConversation> implements IIMConversationService {

//    @Override
//    public IMConversation queryBy(String ownerId, String targetId) {
//        return baseMapper.queryBy(ownerId, targetId);
//    }


    public IMConversation queryBy(String ownerId, String targetId) {
       return baseMapper.queryBy(ownerId, targetId);
    }
}
